<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\ActivePhoto
 *
 * @property int $id
 * @property string|null $title 标题
 * @property string|null $number 编号
 * @property string|null $desc 描述
 * @property string|null $author 作者
 * @property int $status 是否兑奖
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\ActivePhoto onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivePhoto whereAuthor($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivePhoto whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivePhoto whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivePhoto whereDesc($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivePhoto whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivePhoto whereNumber($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivePhoto whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivePhoto whereTitle($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivePhoto whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\ActivePhoto withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\ActivePhoto withoutTrashed()
 * @mixin \Eloquent
 * @property string|null $place 地点
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivePhoto wherePlace($value)
 * @property int $vote_num
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivePhoto whereVoteNum($value)
 */
class ActivePhoto extends Model
{
    protected $table = "active_photo";
    use SoftDeletes;
}